from applications.extensions import ma
from marshmallow import fields


class ReadpageOutSchema(ma.Schema):
    id = fields.Integer()
    bid = fields.Integer()
    name = fields.Str()
    tid = fields.Integer()
    tag = fields.Str()
    pid = fields.Integer()
    sort = fields.Integer()
    title = fields.Str()
    realname = fields.Str()
    create_time = fields.DateTime()
